/**
 * 
 */
package com.naiterui.ehp.bs.im.network.protocl;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

/**
 * @author Ldl
 * @since 1.0.0
 */
public class ConsultPaidNotice implements IChecker, Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -4686274275544449983L;

    private String orderSn;// 订单号
    private String detail;// 消息描述
    private Long price;// 支付金额

    /**
     * @Author Ldl
     * @Date 2017年4月6日
     * @since 1.0.0
     * @return
     * @see com.naiterui.ehp.bs.im.network.protocl.IChecker#selfValidate()
     */
    @Override
    public boolean selfValidate() {
        if (StringUtils.isEmpty(detail)) {
            return false;
        }
        return true;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

}
